Restriction of Export Formats
In This Topic
If only specific export formats should be available for the end user, the list of formats can be restricted exactly to these formats. This is possible with the option LlOptionString.Exports_Allowed.
using (ListLabel LL = new ListLabel())
{
// Define/Assign data source
LL.DataSource = CreateDataSet();
// Only allow PDF and preview
LL.Core.LlSetOptionString(LlOptionString.Exports_Allowed, "PDF;PRV");
// Start export
LL.Print();
}
Using LL As New ListLabel()
' Define/Assign data source
LL.DataSource = CreateDataSet()
' Only allow PDF and preview
LL.Core.LlSetOptionString(LlOptionString.Exports_Allowed, "PDF;PRV")
' Start export
LL.Print()
End Using